<div class="tab-labels">
    <div class="xian"></div>
    数据统计
</div>
<div class="hang">
    <div class="form-group" style="width: 100%;">
        <div class="col-xs-12 col-sm-8">
            <div class="ann" style="width:100px;right: -60px;text-align: center;line-height:30px;background: #1b4fe7;color: #fff;border-radius: 5px;cursor:pointer;float: left;" data-toggle="modal" onclick="fuwudan({$row.one_id})">服务单信息</div>

            <div class="ann" style="width:100px;right: -60px;text-align: center;line-height:30px;background: #1b4fe7;color: #fff;border-radius: 5px;cursor:pointer;float: left;margin-left: 10px;" data-toggle="modal" onclick="baoan({$row.one_id})">报案信息</div>
        </div>
    </div>
</div>
<script src="/assets/js/ace1.4/assets/js/jquery.min.js" type="text/javascript"></script>
<script>
    function fuwudan(id){
        if(id) {
            layer.open({
                type: 2,
                title: '服务单信息',
                maxmin: true,
                area: ['100%', '100%'],
                content: "{:url('buchang/baoan/fuwudan')}?id=" +
                    id,
            });
        }else{
            layer.msg('请先选择服务单')
        }
    }
    function baoan(id){
        if(id) {
            layer.open({
                type: 2,
                title: '报案信息',
                maxmin: true,
                area: ['100%', '100%'],
                content: "{:url('buchang/baoan/baoan')}?id=" +
                    id,
            });
        }else{
            layer.msg('请先选择服务单')
        }
    }
</script>